<section class="section">
  <div class="section-body">
    <div class="row">
      <div class="col-12 col-md-6 col-lg-12">
        <div class="card">
          <div
            class="card-header d-flex justify-content-between align-items-center"
          >
            <h4 class="m-0">面试邀请管理</h4>
            <div class="d-flex align-items-center">
              <div class="input-group mr-2" style="width: 600px">
                <select
                  class="form-control"
                  id="searchType"
                  style="width: 50px"
                >
                  <option value="id">ID</option>
                  <option value="companyName">企业名称</option>
                  <option value="seekerName">求职者姓名</option>
                  <option value="seekerEmail">求职者邮箱</option>
                </select>
                <input
                  type="text"
                  class="form-control"
                  placeholder="输入搜索内容"
                  id="searchInput"
                />
                <div class="input-group-append">
                  <button class="btn btn-primary" type="button" id="searchBtn">
                    <i class="fas fa-search"></i> 查询
                  </button>
                </div>
              </div>
            </div>
          </div>
          <div class="card-body p-0">
            <div class="table-responsive">
              <table class="table table-striped table-md">
                <thead>
                  <tr>
                    <th>ID</th>
                    <th>邀请标题</th>
                    <th>企业名称</th>
                    <th>求职者姓名</th>
                    <th>求职者邮箱</th>
                    <th>邀请时间</th>
                    <th>操作</th>
                  </tr>
                </thead>
                <tbody id="invitationTableBody"></tbody>
              </table>
            </div>
          </div>
          <div class="card-footer text-right">
            <nav class="d-inline-block">
              <ul class="pagination mb-0" id="pagination"></ul>
            </nav>
          </div>
        </div>
      </div>
    </div>
  </div>

  <!-- 面试邀请详情模态框 -->
  <div class="modal fade" id="detailModal" tabindex="-1">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title">面试邀请详情</h5>
          <button type="button" class="close" id="detailModalClose">
            <span>&times;</span>
          </button>
        </div>
        <div class="modal-body">
          <div class="form-group">
            <label>邀请标题</label>
            <input
              type="text"
              class="form-control"
              id="invitationTitle"
              readonly
            />
          </div>
          <div class="form-group">
            <label>企业名称</label>
            <input type="text" class="form-control" id="companyName" readonly />
          </div>
          <div class="form-group">
            <label>企业邮箱</label>
            <input
              type="email"
              class="form-control"
              id="companyEmail"
              readonly
            />
          </div>
          <div class="form-group">
            <label>联系电话</label>
            <input type="tel" class="form-control" id="contactPhone" readonly />
          </div>
          <div class="form-group">
            <label>邀请详情</label>
            <textarea
              class="form-control"
              id="invitationDetails"
              readonly
            ></textarea>
          </div>
          <div class="form-group">
            <label>求职者姓名</label>
            <input type="text" class="form-control" id="seekerName" readonly />
          </div>
          <div class="form-group">
            <label>求职者邮箱</label>
            <input
              type="email"
              class="form-control"
              id="seekerEmail"
              readonly
            />
          </div>
          <div class="form-group">
            <label>邀请时间</label>
            <input
              type="text"
              class="form-control"
              id="invitationTime"
              readonly
            />
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">
            关闭
          </button>
        </div>
      </div>
    </div>
  </div>
</section>
